58db51324d8cb1ca78d5db135873d703827a7daa,org.springframework.context/src/test/java/org/springframework/aop/aspectj/autoproxy/AspectJAutoProxyCreatorTests.java,AspectJAutoProxyCreatorTests,testAspectsAndAdvisorAppliedToPrototypeIsFastEnough,#,106
Before Change
}
}
sw.stop();
System.out.println(sw.getTotalTimeMillis());
assertTrue("Prototype creation took too long: " + sw.getTotalTimeMillis(), sw.getTotalTimeMillis() < 4000);
}
After Change
}
}
sw.stop();
long totalTimeMillis = sw.getTotalTimeMillis();
// System.out.println(totalTimeMillis);
// How was it decided that 4 seconds is a reasonable maximum time?
int maxTimeMillis = 5000; // 4000;